﻿<%@ page language="C#" autoeventwireup="true" inherits="Admin_Commission, App_Web_commission.aspx.fdf7a39c" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/main-admin.css" rel="stylesheet" type="text/css" />

    <script src="../Jscript/jquery-1.3.2.min.js" type="text/javascript"></script>

    <script src="../Jscript/page.js" type="text/javascript"></script>

    <style type="text/css">
        .select
        {
            width: 90px;
            border: 1px solid #CCC;
            height: 20px;
            margin-left: 20px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="title-long">
        佣金管理</div>
    <div style="color: #636; margin-bottom: 25px;">
        销售人员
        <input type="text" name="textfield" id="username" runat="server" style="width: 120px;
            border: 1px solid #CCC; height: 15px; margin-right: 20px;" />
        佣金提成月份
        <asp:DropDownList ID="yearlist" runat="server" CssClass="select">
        </asp:DropDownList>
        年
        <asp:DropDownList ID="yuelist" runat="server" CssClass="select">
            <asp:ListItem></asp:ListItem>
            <asp:ListItem>1</asp:ListItem>
            <asp:ListItem>2</asp:ListItem>
            <asp:ListItem>3</asp:ListItem>
            <asp:ListItem>4</asp:ListItem>
            <asp:ListItem>5</asp:ListItem>
            <asp:ListItem>6</asp:ListItem>
            <asp:ListItem>7</asp:ListItem>
            <asp:ListItem>8</asp:ListItem>
            <asp:ListItem>9</asp:ListItem>
            <asp:ListItem>10</asp:ListItem>
            <asp:ListItem>11</asp:ListItem>
            <asp:ListItem>12</asp:ListItem>
        </asp:DropDownList>
        月
        <asp:ImageButton ID="okbtn" runat="server" ImageUrl="~/images/btn-search.gif" Width="68"
            Height="25" border="0" ImageAlign="AbsMiddle" OnClick="okbtn_Click" />
    </div>
    <div class="trans-search-title">
        <div class="comm-download">
            &nbsp;</div>
        <div class="comm-sales">
            销售人员</div>
        <div class="comm-month">
            提成月份</div>
        <div class="comm-amount">
            提成金额</div>
    </div>
    <asp:Repeater ID="userlist" runat="server">
        <ItemTemplate>
            <%# ((Container.ItemIndex + 1) % 2) == 0 ? "<div    class='trans-search-line result-bg'>" : "<div    class='trans-search-line'>"%>
            <div class="comm-download">
                <a href='ToExcelYj.aspx?userid=<%#Eval("userid")%>&year=<%#Eval("year")%>&yue=<%#Eval("yue")%>'
                >
                    <img src="../images/btn-download.png" width="53" height="19" />
                </a>
            </div>
            <div class="comm-sales">
                <%#Eval("username")%></div>
            <div class="comm-month">
                <a href='CShow.aspx?userid=<%#Eval("userid")%>&username=<%#Eval("Username")%>&Y=<%#Eval("year")%>&M=<%#Eval("yue")%>&All=<%#Eval("pay")%>'
                    target="_blank">
                    <%#Eval("titile")%></a></div>
            <div class="comm-amount">
                $<%#Eval("pay")%></div>
            </div>
        </ItemTemplate>
    </asp:Repeater>
    <div  style="text-align:center; margin-top:10px">
   
    <webdiyer:AspNetPager ID="NewsPage" runat="server" AlwaysShow="True" CustomInfoHTML="第%CurrentPageIndex%页，共%PageCount%页，每页%PageSize%条"
        OnPageChanged="NewsPage_PageChanged" PageIndexBoxType="TextBox" ShowPageIndexBox="Always"
        SubmitButtonText="" TextAfterPageIndexBox="" TextBeforePageIndexBox="跳页" Width="800px"
        FirstPageText="&lt;img src=&quot;../img/btn-first.jpg&quot; width=&quot;46&quot; height=&quot;21&quot; align=&quot;absmiddle&quot; /&gt;"
        LastPageText="&lt;img src=&quot;../img/btn-last.jpg&quot; width=&quot;46&quot; height=&quot;21&quot; align=&quot;absmiddle&quot; /&gt;"
        NextPageText="&lt;img src=&quot;../img/btn-next.jpg&quot; width=&quot;32&quot; height=&quot;21&quot; align=&quot;absmiddle&quot; /&gt;"
        PrevPageText="&lt;img src=&quot;../img/btn-prev.jpg&quot; width=&quot;32&quot; height=&quot;21&quot; align=&quot;absmiddle&quot; /&gt;"
        SubmitButtonClass="showsb" PageIndexBoxClass="pageindexbox" PageSize="20">
    </webdiyer:AspNetPager>     &nbsp;</div>
    </form>
</body>
</html>
